<?php
/**
 * Created By PhpStorm
 * User: 星洛尘--Stara_Rs
 * Date: 2019/10/9
 * Time: 21:45
 */


namespace app\api\validate;


use think\Validate;

class TestValidate extends Validate
{
    protected $rule = [
        'name'=> 'require|max:10',
        'email'=> 'email',
    ];
}